<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div.container {
            width: 960px;
        }
        .row1 div {
            height: 80px;
            background-color: gray;
            text-align: center;
            float: left;
            line-height: 80px;
        }
        .logo {
            width: 200px;
        }
        .banner1 {
            margin: 0 10px 10px 10px;
            width: 540px;
        }
        .banner2 {
            width: 200px;
        }
        .menu {
            height: 30px;
            line-height: 30px;
            text-align: center;
            clear: both;
            margin-bottom: 10px;
        }
        .backgray {
            background-color: gray;
        }
        .floatleft {
            float: left;
        }
        .floatright {
            float: right;
        }
        .block1 {
            height: 200px;
            width: 370px;
            margin-right: 10px;
        }
        .block2 {
            height: 200px;
            width: 370px;
            margin-right: 10px;
        }
        .block3 {
            height: 200px;
            width: 180px;
            margin: 10px 10px 0 0;
            line-height: 180px;
            text-align: center;
        }
        .block7 {
            height: 130px;
            width: 200px;
            margin-bottom: 10px;
            line-height: 130px;
            text-align: center;
        }
        .clearboth {
            clear: both;
        }
        .footer {
            height: 60px;
            width: 960px;
            text-align: center;
            line-height: 60px;
            clear: both;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="row1">
            <div class="logo">logo</div>
            <div class="banner1">banner1</div>
            <div class="banner2">banner2</div>
        </div>
        <div class="menu backgray">菜单</div>
        <div class="block1 backgray floatleft">栏目1</div>
        <div class="block2 backgray floatleft">栏目2</div>
        <div class="block7 backgray floatright">栏目7</div>
        <div class="block7 backgray floatright">栏目8</div>
        <div class="block3 backgray floatleft">栏目3</div>
        <div class="block3 backgray floatleft">栏目4</div>
        <div class="block3 backgray floatleft">栏目5</div>
        <div class="block3 backgray floatleft">栏目6</div>
        <div class="block7 backgray floatright">栏目9</div>
        <div class="footer backgray">页脚</div>
    </div>
</body>
</html>